﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using Microsoft.Practices.Composite.Modularity;
using Microsoft.Practices.Unity;
using Microsoft.Practices.Composite.Regions;
using Refract;
using Refract.Demo.Module1.Views;

namespace Refract.Demo.Module1
{
    public class Module1 : IModule
    {
        #region Properties

        /// <summary>
        /// Gets or sets the container.
        /// </summary>
        /// <value>The container.</value>
        [Dependency]
        public IUnityContainer Container { get; set; }

        /// <summary>
        /// Gets or sets the navigation.
        /// </summary>
        /// <value>The navigation.</value>
        [Dependency]
        public INavigator Navigator { get; set; }

        #endregion

        #region IModule Members

        /// <summary>
        /// Initializes this module.
        /// </summary>
        public void Initialize()
        {
            Navigator.RegisterPage<HowAreYouViewModel>("HowAreYou");
        }

        #endregion
    }
}
